package com.itic.mall.system.users.userscode.service;

import com.itic.appbase.framework.common.service.CrudService;
import com.itic.mall.system.inter.users.userscode.persistence.dao.UsersCodeDao;
import com.itic.mall.system.inter.users.userscode.persistence.model.UsersCode;
import com.itic.mall.system.inter.users.userscode.persistence.model.UsersCodeExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


@Service
@Transactional
public class UsersCodeService
     extends CrudService<UsersCodeDao,UsersCode,UsersCodeExample> {
    @Autowired
    private UsersCodeDao usersCodeDao;

    public String getTgwIdByUserId(String userId){
    	return usersCodeDao.getTgwIdByUserId(userId);
    }

}